
#ifndef CTKTEST_MAINWINDOWPLUGIN_H
#define CTKTEST_MAINWINDOWPLUGIN_H

#include <QObject>
#include "../src/imainwindow.h"
#include "ctkPluginContext.h"
#include "service/event/ctkEventHandler.h"
class MainWindow;
class MainWindowPlugin : public QObject, public iMainWindow
{
    Q_OBJECT
    Q_INTERFACES(iMainWindow)
public:
    explicit MainWindowPlugin(ctkPluginContext *context);
    void popWindow() override;

signals:
    void sig_send();
    void sig_delete();

protected slots:
    void deletePage();

private:
    ctkPluginContext *context_;
    MainWindow* main_window_;
};

#endif //CTKTEST_MAINWINDOWPLUGIN_H
